home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / comm2 / dbrfxv17.lha / DBAreafix.autoinstall < prev    next >
Text File  |  1996-04-10  |  2KB  |  68 lines

  1.  
  2. echo "*nDBAreafix V1.7a  --  ©1995,96 Denis Bucher  --  Auto Install Script --*n"
  3.  
  4. if not EXISTS "Doors:"
  5.     echo "I need Doors: to work, sorry ...*N*NI would suggest to add 'assign doors: device:your_path/' in your*N S:Startup-Sequence and type it now !*N"
  6.     skip termine
  7. endif
  8.  
  9. if not EXISTS "Doors:DBAreafix"
  10.     makedir Doors:DBAreafix
  11. endif
  12.  
  13. copy DBAreafix     Doors:DBAreafix/ clone
  14. copy DBAreafix.doc Doors:DBAreafix/ clone
  15.  
  16. IF exists FIDO:Batch/PRE_Netscan.DMB
  17.     echo "*n*nQuestion : Does already the following text contains approximatively"
  18.         echo "                                              'CloseArea -a *"50*" ...*n                           Doors:DBAreafix/DBAreafix"
  19.         echo "                           OpenArea -a *"50*" ...' ?*n---------------text :---------------------"
  20.         type FIDO:Batch/PRE_Netscan.DMB
  21.         echo "-------------end of text------------------"
  22.  
  23.     unset >NIL: DBAreafixInstalled
  24.  
  25.         echo "*nYour answer [Y/n] : " noline
  26.             set >nil: DBAreafixInstalled ?
  27.             echo "" noline
  28.     
  29.         if "$DBAreafixInstalled" EQ "n"
  30.             skip addprenetscan
  31.         else
  32.             echo "*nAssumed : YES*n->If answer should have been 'no', just restart install :-)*n*n"
  33.         endif
  34.  
  35.     unset >NIL: DBAreafixInstalled
  36.     
  37. else
  38.         skip addprenetscan
  39. endif
  40.  
  41. skip suite
  42.  
  43. ;------------------------SUB
  44. lab addprenetscan
  45.     echo >>FIDO:Batch/PRE_Netscan.DMB "DLG:CloseAreas -a *"50*" -k MultiDiapala -r DBAreafix -m -b"
  46.     echo >>FIDO:Batch/PRE_Netscan.DMB "Doors:DBAreafix/DBAreafix"
  47.     echo >>FIDO:Batch/PRE_Netscan.DMB "DLG:OpenAreas -a *"50*" -k MultiDiapala -m"
  48. ;------------------------END
  49.  
  50. lab suite
  51.  
  52.     unset >NIL: RunDBAreafixNow
  53.  
  54.         echo "*nConfigure DBAreafix NOW ? [y/N] : " noline
  55.         set >nil: RunDBAreafixNow ?
  56.         echo "" noline
  57.     
  58.         if "$RunDBAreafixNow" EQ "y"
  59.             Doors:DBAreafix/DBAreafix CFG
  60.         endif
  61.  
  62.     echo "*nUsage will be : Doors:DBAreafix/DBAreafix CFG"
  63.     unset >NIL: RunDBAreafixNow
  64.  
  65. lab termine
  66.  
  67. echo "*NYou can found your DBAreafix in *"Doors:DBAreafix/*".*n"
  68.